package com.huatai.user.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @program: ht-system
 * @description: 角色资源权限配置参数
 * @author: songxiude
 * @create: 2023-02-10 14:12
 **/
@Data
@ApiModel(value = "角色资源权限配置参数实体",description = "角色资源权限配置参数实体")
public class RolePermissuinParamVo {
	@ApiModelProperty("角色id")
	@Min(value = 1,message = "角色id不能为空")
	private Long roleId;

	@ApiModelProperty("资源权限id")
	@Size(min = 1,message = "资源权限id列表不能为空")
	private List<Long> permissions;
}
